from piercing.pierc_common import PresureParams
import math


# 压差计算
# 粘卡阻力计算
def get_sticky_resistanceh(params: PresureParams) -> float:
    F_f: float = params.contact_length * params.cable_diameter * params.p_contact * params.friction_coefficient
    return F_f

if __name__ == '__main__':
    params  = PresureParams()
    params.contact_length = 20
    params.cable_diameter = 11.8
    params.p_contact = 6
    params.friction_coefficient = 0.05
    F_f = get_sticky_resistanceh(params)
    print(F_f)
